package com.dbdoc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
@MapperScan("com.dbdoc.mapper")
public class DbApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(DbApplication.class, args);
    }

}
